A dummy custom pass slot. More...
Public Member Functions | |
| ShaderPassCustomDummySlot () | |
| ~ShaderPassCustomDummySlot () | |
| void | setTypeName (const nkMemory::StringView &value) |
| virtual unsigned int | getDataByteSize () override |
| virtual void | fillDataBuffer (void *buffer) override |
Public Member Functions inherited from nkGraphics::ShaderPassCustomSlot | |
| ShaderPassCustomSlot () | |
| virtual | ~ShaderPassCustomSlot () |
| nkMemory::StringView | getTypeName () const |
A dummy custom pass slot.
Used as a place holder when importing shaders featuring custom slots. The dummy slot will have to be replaced by the application knowing about the precise custom slot to use, after resource loading.
| nkGraphics::ShaderPassCustomDummySlot::ShaderPassCustomDummySlot | ( | ) |
Constructor.
| nkGraphics::ShaderPassCustomDummySlot::~ShaderPassCustomDummySlot | ( | ) |
Destructor.
| void nkGraphics::ShaderPassCustomDummySlot::setTypeName | ( | const nkMemory::StringView & | value | ) |
| value | The type name to override. |
|
overridevirtual |
See SHaderPassCustomSlot::getDataByteSize().
Implements nkGraphics::ShaderPassCustomSlot.
|
overridevirtual |
See ShaderPassCustomSlot::fillDataBuffer().
Implements nkGraphics::ShaderPassCustomSlot.